package innerclasses;

public class Parcel6 {

	public Parcel6() {
		// TODO 自动生成的构造函数存根
	}
	
	private void internalTracking(boolean b) {
		if(b) {
			class TrackingSlip{
				private String id;
				TrackingSlip(String s){
					id=s;
				}
				String getSlip() {
					return id;
				}
			}
			TrackingSlip ts = new TrackingSlip("SSSS");
			String s = ts.getSlip();
		}
	}
	
	public void track() {
		internalTracking(true);
	}
	public static void main(String[] ags) {
		Parcel6 p = new Parcel6();
		p.track();
	} 

}
